<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>公用js</title>

  <link rel="stylesheet" href="./css/bootstarp.min.css">
  <link rel="stylesheet" href="./css/common.css">

</head>

<body>
  <div class="loader"></div>

  <div>公用js</div>

  <div id="divNow"></div>

  <span class="btn btn-primary">按钮1</span>
  <button class="btn btn-danger">按钮2</button>

  <input type="text" class="form-control" placeholder="输入框">

  <hr>
  <span id="btnDialog" class="btn btn-info">打开对话框</span>

  <!-- 对话框演示 -->
  <div class="modal fade" id="mymodal" tabindex="-1">
    <div class="modal-dialog">
      <div class="modal-content">
        <div class="modal-header">
          <!-- 标题 -->
          <h1 class="modal-title fs-5">发布新闻</h1>
          <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
        </div>
        <div class="modal-body">
          <!-- 对话框的内容 -->
          <div>
            哈哈哈嘻嘻嘻
            <br>
            哈哈哈嘻嘻嘻
          </div>
        </div>
        <div class="modal-footer">
          <!-- 下方功能按钮 -->
          <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">关闭</button>
          <button type="button" class="btn btn-primary">发布</button>
        </div>
      </div>
    </div>
  </div>



  <!-- 导入公用的js文件 -->
  <script src="./js/bootstarp.min.js"></script>
  <script src="./js/common.js"></script>

  <script src="./js/h2.js"></script>

</body>

</html>